package com.group.DAO;

import com.group.Enity.Repair;
import com.group.Enity.RepairType;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface RepairDAO {

    List<Repair> getRepairs(@Param("status")Integer status,@Param("comId") Integer comId);
    List<RepairType> getRepairTypes();
    List<HashMap<String,Integer>> getCounts();
    void deleteById(@Param("id")int id);
    void update(@Param("id")int id);
}
